var xmlhttp;

function LoadFbLogin(id, firstName){
	xmlhttp=GetXmlHttpObject();
	
	if (xmlhttp==null)
	  {
	   alert ("Your browser does not support Ajax HTTP");
	   return;
	  }
	
	var url="../jsp/home.jsp";
    url=url+"?FbId="+id+"&fN="+firstName;

   // xmlhttp.onreadystatechange=getOutput;
    xmlhttp.open("GET",url,true);
    xmlhttp.send(null);
    
    
    
//    var urlPlayer="../jsp/player.jsp";
//    urlPlayer=urlPlayer+"?FbId="+id+"&fN="+firstName;
//
//   // xmlhttp.onreadystatechange=getOutput;
//    xmlhttp.open("GET",urlPlayer,true);
//    xmlhttp.send(null);
}


function GetXmlHttpObject()	{
    if (window.XMLHttpRequest)
    {
       return new XMLHttpRequest();
    }
    if (window.ActiveXObject)
    {
      return new ActiveXObject("Microsoft.XMLHTTP");
    }
 return null;
}